﻿<template>
    <div class=" brand">
        <!--查询条件-->
        <div class="condition">
            <el-form :inline="true" class="condition_name">
                <el-form-item label="市场活动名称：" class="promotionName">
                    <el-input type="text"
                              placeholder="录入活动名称"
                              v-model="MarketingInfo.marketingName"
                              style="width: 300px"
                              maxlength="20" show-word-limit></el-input>
                </el-form-item><br>

                <el-form-item label="活动日期：" class="promotionStarttime">
                    <el-date-picker v-model="MarketingInfo.marketingDate" type="datetime"
                                    placeholder="选择日期时间">
                    </el-date-picker>
                </el-form-item><br>

                <el-button round type="primary" @click="selectGift">选择赠品</el-button>
            </el-form>
        </div>

        <!--&lt;!&ndash;商品选着&ndash;&gt;-->
        <div class="show">
            <el-table :data="produckInfo" style="width: 100%" height="400px">
                <el-table-column fixed prop="id" label="序号" width="80"></el-table-column>
                <el-table-column prop="promotionName" label="赠品名字" width="150"></el-table-column>
                <el-table-column prop="promotionStarttime" label="赠品型号" width="150"></el-table-column>
                <el-table-column prop="goodName" label="赠品颜色" width="150"></el-table-column>
                <el-table-column prop="promotionPrice" label="赠品数量" width="120"></el-table-column>
                <el-table-column prop="priceTaketime" label="活动赠品数量" width="150"></el-table-column>
                <el-table-column prop="handle" label="操作" width="370">
                    <template slot-scope="scope">
                        <el-button round type="primary" icon="el-icon-document-copy" size="mini">查看</el-button>
                        <el-button round type="warning" icon="el-icon-edit" size="mini">修改</el-button>
                        <el-button round type="danger" icon="el-icon-delete" size="mini">删除</el-button>
                        <el-button round type="success" icon="el-icon-finished" size="mini">审核跟踪</el-button>
                    </template>
                </el-table-column>
            </el-table>
        </div>

        <div>
            <el-form :inline="true" class="bottom">
                <el-form-item label="领取方式" class="marketing_rewardWay"   >
                    <el-select v-model="MarketingInfo.rewardWay" placeholder="请选择">
                        <el-option label="现场领取" :value="1"></el-option>
                        <el-option label="邮寄" :value="2"></el-option>
                    </el-select>
                </el-form-item><br>

                <el-form-item label="申请事项：">
                    <el-input type="textarea" v-model="MarketingInfo.marketingName"
                              style="width: 400px"
                              maxlength="200" show-word-limit
                              :rows="4"></el-input>
                </el-form-item><br>

                <el-form-item class="button">
                    <el-button round type="primary" @click="">保存</el-button>
                    <el-button round type="info" @click="backtrack">返回</el-button>
                </el-form-item>
            </el-form>
        </div>
    </div>
</template>

<script>
    import brand from './MarketingApplyUpdete'
    export default brand;
</script>

<style scoped lang="sass">
    @import "MarketingApplyUpdete"
</style>